package com.example.netty.chatSystem.message;

import lombok.Data;

import java.io.Serializable;
@Data
public class LoginResult extends Message1 implements Serializable {
    private boolean result;
    private String reason;
    public LoginResult(boolean result,String reason){
        this.reason = reason;
        this.result = result;
    }
    @Override
    public int getMessageType() {
        return 2;
    }
}
